﻿//-----------------------------------------------------------------------------------
// <copyright file="ImGroups.cs" company="Go Enterprises">
// * copyright: (C) 2018 公司名称 版权所有。
// * version  : 1.0.0.0
// * author   : Mr.King
// * fileName : ImGroups.cs
// * history  : created by Mr.King 2024-11-26 18:34:56
// </copyright>
//-----------------------------------------------------------------------------------

using System;
using System.Runtime.Serialization;

namespace ImModels.Service.Models.Data
{
    /// <summary>
    /// ImGroups 群组信息表
    /// </summary>
    public class ImGroups
    {
        
		/// <summary>
		/// 雪花ID,全局唯一 群组ID
		/// </summary>
		public long KID { get; set;} = 0;

		/// <summary>
		/// 状态,0正常 1禁用
		/// </summary>
		public short States { get; set;} = 0;

		/// <summary>
		/// 是否删除 0未删除 1已删除
		/// </summary>
		public short IsDeleted { get; set;} = 0;

		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime CreateTime { get; set;} = DateTime.Now;

		/// <summary>
		/// 企业ID
		/// </summary>
		public long EnterpriseId { get; set;} = 0;

		/// <summary>
		/// 创建则即为群管理员
		/// </summary>
		public string CreateUserId { get; set;} = "";

		/// <summary>
		/// 群全称，群主可修改
		/// </summary>
		public string FullName { get; set;} = "";

		/// <summary>
		/// 公告 描述等
		/// </summary>
		public string Comment { get; set;} = "";

		/// <summary>
		/// 总人数
		/// </summary>
		public int UserCnt { get; set;} = 0;

		/// <summary>
		/// 群组头像
		/// </summary>
		public string HeadImg { get; set;} = "";

		/// <summary>
		/// 扩展信息,可Json存储 自定义即可
		/// </summary>
		public string ExJson { get; set;} = "";

		/// <summary>
		/// 会话标签 [外部,售后,投诉 等],可显示到会话右上角
		/// </summary>
		public string Flags { get; set;} = "";


        /*BC47A26EB9A59406057DDDD62D0898F4*/
    }
}
